let marbleRaceLevelRotate={
	name: 'Rotation Level',
	id: 'Rotate',
	type:'rotate',
	title:'旋转',
	objects: [
		// Obstacles
		{
			type: 'object',
			shape: 'rect',
			color: '@secondary',
			x: 400,
			y: 300,
			width: 800,
			height: 40,
			onBeforeUpdate: function (object, engine) {
				engine.setAngle(object.body,engine.time)
			}
		},

		// Borders
		{
			type: 'object',
			shape: 'rect',
			color:'@tertiary',
			x: 400,
			y: 0,
			width: 800,
			height: 120
		},
		{
			type: 'object',
			shape: 'rect',
			color:'@tertiary',
			x: 400,
			y: 600,
			width: 800,
			height: 120
		},
		{
			type: 'object',
			shape: 'rect',
			color:'@tertiary',
			x: 0,
			y: 300,
			width: 160,
			height: 600
		},
		{
			type: 'object',
			shape: 'rect',
			color:'@tertiary',
			x: 800,
			y: 300,
			width: 160,
			height: 600
		},

		//Marbles
		{
			type: 'marbles',
			x: 400,
			y: 300,
			radius:24,
			velocity:0
		},
	]
}
marbleRaceLevels.push(marbleRaceLevelRotate)